﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.BaseData.Entitys;

/// <summary>
/// ​缺陷类别实体.
/// </summary>
[SugarTable("qms_base_defect", "​缺陷类别")]
[Tenant(ClaimConst.TENANTID)]
public class QmsBaseDefectEntity : CLDEntityBase
{
    /// <summary>
    /// 缺陷类别名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_Name", ColumnDescription = "缺陷类别名称")]
    public string Name { get; set; }

    /// <summary>
    /// 默认严重度（字典项：高中低）.
    /// </summary>
    [SugarColumn(ColumnName = "F_Severity", ColumnDescription = "默认严重度（字典项：高中低）")]
    public string Severity { get; set; }

    /// <summary>
    /// 备注.
    /// </summary>
    [SugarColumn(ColumnName = "F_Remarks", ColumnDescription = "备注")]
    public string Remarks { get; set; }
}